package com.ijava.base.domain;

public class UserGroup extends BaseDomain {
	private String groupId;
	private String groupCode;
	private String groupName;
	private String groupExplain;

	public UserGroup() {
		super();
	}

	public UserGroup(String groupId) {
		super();
		this.groupId = groupId;
	}

	public UserGroup(String groupCode, String groupName, String groupExplain) {
		super();
		this.groupCode = groupCode;
		this.groupName = groupName;
		this.groupExplain = groupExplain;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getGroupCode() {
		return groupCode;
	}

	public void setGroupCode(String groupCode) {
		this.groupCode = groupCode;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getGroupExplain() {
		return groupExplain;
	}

	public void setGroupExplain(String groupExplain) {
		this.groupExplain = groupExplain;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("UserGroup [");
		if (groupId != null) {
			builder.append("groupId=");
			builder.append(groupId);
			builder.append(", ");
		}
		if (groupCode != null) {
			builder.append("groupCode=");
			builder.append(groupCode);
			builder.append(", ");
		}
		if (groupName != null) {
			builder.append("groupName=");
			builder.append(groupName);
			builder.append(", ");
		}
		if (groupExplain != null) {
			builder.append("groupExplain=");
			builder.append(groupExplain);
		}
		builder.append("]");
		return builder.toString();
	}


}
